package com.gitee.secretopen.sso.service;


import com.gitee.secretopen.sso.controller.form.PageInfo;
import com.gitee.secretopen.sso.db.pojo.Log;
import com.baomidou.mybatisplus.extension.service.IService;
import org.aspectj.lang.JoinPoint;

import java.util.List;

/**
 * @Author Xjt
 * @Date 2021/2/26 18:53
 * @Version 1.0
 */
public interface LogService extends IService<Log>{
    PageInfo<Log> page(Log params);

    List<Log> downloadLogs();

    void asyncSaveSystemLog(String bussinessName);

    void asyncSaveSsoLogin(JoinPoint joinPoint);
}
